﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Dycox.Reporting
{
    public class TableColumn : TableElement
    {
        public TableColumn()
        {

        }

        private ElementUnit _width;
        [XmlAttribute("width")]
        public ElementUnit Width
        {
            get { return _width; }
            set
            {
                if (!_width.Equals(value))
                {
                    _width = value;
                    if (Table != null)
                        Table.NotifyLayoutChanged(this);
                }
            }
        }

    }
}
